package com.zpz.framework.zpzoauth.common.utils;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author zhangpanzhi
 * @time 2019-07-09
 * @description 未经本人允许请勿随便改动，尊重劳动
 * */
public class ZpzOauthBasePage extends ZpzOauthBasePojo{
    @ApiModelProperty(value = "分页-当前页码",example ="1")
    private Integer pageNum;
    @ApiModelProperty(value = "分页-每页的记录条数",example ="10")
    private Integer pageSize;
    @ApiModelProperty(value = "排序（按照数据库中的字段拼接成order by字符串，如：create_time,id desc）")
    private String orderBy;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }
}
